package com.guaoran.micro.services.spring.boot.auto.configuraton.config;

import com.guaoran.micro.services.spring.boot.auto.configuraton.service.UserService;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author : guaoran
 * @Description 通过 {@link Configuration} 注解实现 Enable 注解驱动
 * @date :2019/7/8 21:06
 */
@Configuration
public class ImportConfiguration {
    @Bean
    public UserService userService(){
        return new UserService();
    }
}
